﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="EquipmentTypeQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class EquipmentTypeQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string CubicCapacityField;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string EquipmentTypeIDField;
        [OptionalField]
        private string HeightField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LengthField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WeightCapacityField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string WidthField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string CubicCapacity
        {
            get
            {
                return this.CubicCapacityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CubicCapacityField, value))
                {
                    this.CubicCapacityField = value;
                    base.RaisePropertyChanged("CubicCapacity");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string EquipmentTypeID
        {
            get
            {
                return this.EquipmentTypeIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EquipmentTypeIDField, value))
                {
                    this.EquipmentTypeIDField = value;
                    base.RaisePropertyChanged("EquipmentTypeID");
                }
            }
        }

        [DataMember]
        public string Height
        {
            get
            {
                return this.HeightField;
            }
            set
            {
                if (!object.ReferenceEquals(this.HeightField, value))
                {
                    this.HeightField = value;
                    base.RaisePropertyChanged("Height");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string Length
        {
            get
            {
                return this.LengthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LengthField, value))
                {
                    this.LengthField = value;
                    base.RaisePropertyChanged("Length");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WeightCapacity
        {
            get
            {
                return this.WeightCapacityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WeightCapacityField, value))
                {
                    this.WeightCapacityField = value;
                    base.RaisePropertyChanged("WeightCapacity");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string Width
        {
            get
            {
                return this.WidthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WidthField, value))
                {
                    this.WidthField = value;
                    base.RaisePropertyChanged("Width");
                }
            }
        }
    }
}

